/*
 * Copyright Red Hat, Inc. and/or its affiliates
 * and other contributors as indicated by the @author tags and
 * the COPYRIGHT.txt file distributed with this work.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.teiid.runtime;

import java.util.ResourceBundle;

import org.teiid.core.BundleUtil;


public class RuntimePlugin {
    private static final String PLUGIN_ID = "org.teiid.runtime" ; //$NON-NLS-1$
    private static final String BUNDLE_NAME = PLUGIN_ID + ".i18n"; //$NON-NLS-1$
    public static final BundleUtil Util = new BundleUtil(PLUGIN_ID,BUNDLE_NAME,ResourceBundle.getBundle(BUNDLE_NAME));

    public static enum Event implements BundleUtil.Event{
        TEIID40001, // undefined translator properties
        TEIID40002, // failed to load ODBC metadata
        TEIID40003, // VDB status
        TEIID40007, // keep alive failed
        TEIID40008, // expired session
        TEIID40009, // terminate session
        TEIID40011, // processing error
        TEIID40012, // data source not found
        TEIID40013, // replication failed
        TEIID40014, // krb5 failed
        TEIID40015, // pg error
        TEIID40016, // pg ssl error
        TEIID40017, // unexpected exp for session
        TEIID40018,
        TEIID40020,
        TEIID40021,
        TEIID40022,
        TEIID40024,
        TEIID40025,
        TEIID40026,
        TEIID40027,
        TEIID40028,
        TEIID40029,
        TEIID40031,
        TEIID40032,
        TEIID40033,
        TEIID40034,
        TEIID40035,
        TEIID40039,
        TEIID40041,
        TEIID40042,
        TEIID40043,
        TEIID40044,
        TEIID40045,
        TEIID40046,
        TEIID40047,
        TEIID40048,
        TEIID40051,
        TEIID40052,
        TEIID40053,
        TEIID40054,
        TEIID40055,
        TEIID40059,
        TEIID40062,
        TEIID40063,
        TEIID40064,
        TEIID40065,
        TEIID40067,
        TEIID40069,
        TEIID40070,
        TEIID40071,
        TEIID40072,
        TEIID40073,
        TEIID40074,
        TEIID40075,
        TEIID40076,
        TEIID40077,
        TEIID40078,
        TEIID40079,
        TEIID40080,
        TEIID40081,
        TEIID40082,
        TEIID40083, //vdb import does not exist
        TEIID40084, //imported role conflict
        TEIID40085, //imported model conflict
        TEIID40086, //imported connector manager conflict
        TEIID40087, //pass-through failed
        TEIID40088, //event distributor replication failed
        TEIID40089, //txn disabled
        TEIID40090,
        TEIID40091,
        TEIID40092,
        TEIID40093, //no sources
        TEIID40094, //invalid metadata repso
        TEIID40095, //deployment failed
        TEIID40096, //vdb deploy timeout
        TEIID40097, //vdb finish timeout
        TEIID40098,
        TEIID40099,
        TEIID40100,
        TEIID40101,
        TEIID40102,
        TEIID40103,
        TEIID40104,
        TEIID40105,
        TEIID40106, //override translators not allowed in embedded
        TEIID40107,
        TEIID40108,
        TEIID40109,
        TEIID40110,
        TEIID40111,
        TEIID40112,
        TEIID40113,
        TEIID40114,
        TEIID40115,
        TEIID40117,
        TEIID40118,
        TEIID40119,
        TEIID40120,
        TEIID40121, //invalid model name
        TEIID40122, //error creating SSLEngine
        TEIID40123,
        TEIID40124,
        TEIID40125,
        TEIID40130,
        TEIID40131,
        TEIID40132,
        TEIID40133,
        TEIID40134,
        TEIID40135,
        TEIID40136,
        TEIID40137,
        TEIID40138,
        TEIID40139,
        TEIID40140,
        TEIID40141,
        TEIID40142,
        TEIID40143,  //data roles required
        TEIID40144,
        TEIID40145,
        TEIID40146,
        TEIID40147,
        TEIID40148,
        TEIID40149,
        TEIID40150,
        TEIID40151,
        TEIID40152,
        TEIID40153,
        TEIID40154,
        TEIID40155,
        TEIID40156,
        TEIID40157,
        TEIID40158,
        TEIID40159,
        TEIID40160,
        TEIID40161,
        TEIID40162,
        TEIID40163,
        TEIID40164,
        TEIID40165,
        TEIID40166,
        TEIID40167,
        TEIID40168,
        TEIID40169,

        TEIID50029, // dynamic metadata loaded
        TEIID50030,
        TEIID50104,
        TEIID50036,
    }
}
